<?php


namespace platform\controllers;


class ConfigController extends BaseController
{
    public $modelClass = 'platform\models\SysConfig';

    public function actions()
    {
        return [];
    }

    public function allowAction()
    {
        return ['index'];
    }

    public function actionIndex()
    {
        return [
            'site_name' => 'X-cms',
            'icp_number' => '123456',
        ];
    }
}